import Vue from 'vue';
import {
    formatTime
} from '@/utils/parseTime';





// 日期过滤器
Vue.filter("formatTime", (originVal) => {
    return formatTime(originVal, "{y}-{m}-{d} {h}:{i}:{s}")
})

// 日期过滤器
Vue.filter("formatDate", (originVal) => {
    return formatTime(originVal, "{y}-{m}-{d}")
})